package com.ruoyi.proxy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理路由对象 proxy_route
 * 
 * @author ruoyi
 * @date 2025-11-18
 */
public class ProxyRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 路由地址 */
    @Excel(name = "路由地址")
    private String routePath;

    /** 路由描述 */
    @Excel(name = "路由描述")
    private String routeRmark;

    /** 代理服务表主键 */
    @Excel(name = "代理服务表主键")
    private Integer proxyServiceId;

    /** 路由优先级 */
    @Excel(name = "路由优先级")
    private Integer routeOrder;

    /** 备注 */
    private String rmark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoutePath(String routePath) 
    {
        this.routePath = routePath;
    }

    public String getRoutePath() 
    {
        return routePath;
    }
    public void setRouteRmark(String routeRmark) 
    {
        this.routeRmark = routeRmark;
    }

    public String getRouteRmark() 
    {
        return routeRmark;
    }
    public void setProxyServiceId(Integer proxyServiceId) 
    {
        this.proxyServiceId = proxyServiceId;
    }

    public Integer getProxyServiceId() 
    {
        return proxyServiceId;
    }
    public void setRouteOrder(Integer routeOrder) 
    {
        this.routeOrder = routeOrder;
    }

    public Integer getRouteOrder() 
    {
        return routeOrder;
    }
    public void setRmark(String rmark) 
    {
        this.rmark = rmark;
    }

    public String getRmark() 
    {
        return rmark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("routePath", getRoutePath())
            .append("routeRmark", getRouteRmark())
            .append("proxyServiceId", getProxyServiceId())
            .append("routeOrder", getRouteOrder())
            .append("rmark", getRmark())
            .toString();
    }
}
